package study.zhangxh.annotations;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 *使用空字符串或负数标识默认值不存在的
 *
 * @author: zhangxh
 * @email: zhangxh@cheegu.com
 * @date: 2018/6/14 22:47
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface SimulatingNull {
    public int id() default -1;
    public String description() default "";
}
